package com.ruoyi.store.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 t_business_application
 *
 * @author ruoyi
 * @date 2024-11-16
 */
public class StoreApplication extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 申请表id */
    private Long id;

    /** 商家id */
    @Excel(name = "商家id")
    private Long businessId;

    /** 真实姓名 */
    @Excel(name = "真实姓名")
    private String realName;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String cardNumber;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 电子邮箱 */
    @Excel(name = "电子邮箱")
    private String email;

    /** 商家地址 */
    @Excel(name = "商家地址")
    private String address;

    /** 主体类型 */
    @Excel(name = "主体类型")
    private String businessType;

    /** 营业执照 */
    @Excel(name = "营业执照")
    private String licenseUrl;

    /** 身份证正面 */
    @Excel(name = "身份证正面")
    private String cardFrontUrl;

    /** 身份证反面 */
    @Excel(name = "身份证反面")
    private String cardBackUrl;

    private String reason;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setBusinessId(Long businessId)
    {
        this.businessId = businessId;
    }

    public Long getBusinessId()
    {
        return businessId;
    }
    public void setRealName(String realName)
    {
        this.realName = realName;
    }

    public String getRealName()
    {
        return realName;
    }
    public void setCardNumber(String cardNumber)
    {
        this.cardNumber = cardNumber;
    }

    public String getCardNumber()
    {
        return cardNumber;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setEmail(String email)
    {
        this.email = email;
    }

    public String getEmail()
    {
        return email;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setBusinessType(String businessType)
    {
        this.businessType = businessType;
    }

    public String getBusinessType()
    {
        return businessType;
    }
    public void setLicenseUrl(String licenseUrl)
    {
        this.licenseUrl = licenseUrl;
    }

    public String getLicenseUrl()
    {
        return licenseUrl;
    }
    public void setCardFrontUrl(String cardFrontUrl)
    {
        this.cardFrontUrl = cardFrontUrl;
    }

    public String getCardFrontUrl()
    {
        return cardFrontUrl;
    }
    public void setCardBackUrl(String cardBackUrl)
    {
        this.cardBackUrl = cardBackUrl;
    }

    public String getCardBackUrl()
    {
        return cardBackUrl;
    }
    public void setState(String state)
    {
        this.state = state;
    }

    public String getState()
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("businessId", getBusinessId())
            .append("realName", getRealName())
            .append("cardNumber", getCardNumber())
            .append("phone", getPhone())
            .append("email", getEmail())
            .append("address", getAddress())
            .append("businessType", getBusinessType())
            .append("licenseUrl", getLicenseUrl())
            .append("cardFrontUrl", getCardFrontUrl())
            .append("cardBackUrl", getCardBackUrl())
            .append("state", getState())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
